package cn.lianyutiantang.mybasecloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.*;

import java.util.HashMap;
import java.util.Map;

@SpringBootApplication
@RestController
public class MybasecloudApplication {

    public static void main(String[] args) {
        SpringApplication.run(MybasecloudApplication.class, args);
    }
    @ResponseBody
    @GetMapping(value = "/test")
    public  Object test(String msg){
        Map map=new HashMap<>();
        map.put("msg",msg);
        return  map;
    }
}
